<template>
  <div  class="layout">
    <div class="left"></div>

    <div class="right">
      <div class="top"></div>

      <div class="container">
        <RouterView />
      </div>
    </div>
  </div>
</template>

<style scoped>
.layout {
  display: flex;
  height: 100%;
}

.left {
  width: 200px;
  height: 100%;
  background-color: green;
}

.right {
  display: flex;
  flex-direction: column;
  padding: 20px;
  flex: 1;
  background-color: pink;
}

.top {
  height: 50px;
  background-color: red;
}

.container {
  flex: 1;
  background-color: aqua;
}
</style>
